
#include <vector>
#include <map>
#include <fstream>
#include <sstream>
#include <iostream>
#include <iomanip>
#include <algorithm>

#include <math.h>

#include "PixelToaster.h"
#ifndef NOMINMAX
#define NOMINMAX
#endif // NOMINMAX

#define PI 3.1415926535897932384626433832795f

#define SuperSampling 0
#define SubSampling 0
#define Caustics 0
#define TILERENDERING 0
#define TILESIZE 16

#define BOOLEANOBJECTS_SUPPORT 0

#define RADIOSITY 0

#define DIFFUSE_REFLECTION_COUNT 64 //greater than ZERO!!!!

#define GRIDSIZE 16

#define AO_STRENGHT 0.50
#define AO_POW 20.0
#define AO_Exposure 0.9

//#define double double
//#define sqrtf sqrt